package org.edu.modules.change.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: ve_hr_change_type
 * @Author: jeecg-boot
 * @Date: 2021-03-11
 * @Version: V1.0
 */
@Data
@TableName("ve_hr_change_type")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ve_hr_change_type对象", description = "ve_hr_change_type")
public class VeHrChangeType implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键、自增长
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键、自增长")
    private String id;
    /**
     * 变动类型名称
     */
    @Excel(name = "变动类型名称", width = 15)
    @ApiModelProperty(value = "变动类型名称")
    private String bdname;
    /**
     * 变动类型代码
     */
    @Excel(name = "变动类型代码", width = 15)
    @ApiModelProperty(value = "变动类型代码")
    private String bdcode;
    /**
     * 系统ID
     */
    @Excel(name = "系统ID", width = 15)
    @ApiModelProperty(value = "系统ID")
    private Integer terminalid;
    /**
     * createTime
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "createTime")
    private Date createTime;
}
